package com.lmj.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.lmj.dao.ICampDao;
import com.lmj.model.Camp;

@RestController
@RequestMapping("camp")
public class CampController {

	@Resource
	private ICampDao campDao;
	@RequestMapping("findAll.do")
	public List<Camp>findAll(){
		return campDao.findAll();
	}
}
